package com.fhz.mvvm.util;

/**
 * 时间:2023/8/19
 *
 * @author Mr.Feng
 * 简述:
 */
public  abstract class MyRunnable implements Runnable{

    private String name;

    public MyRunnable(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    @Override
    public void run() {
        execute();
    }

    protected abstract void execute();
}
